asterisk problem in python